Skip to content

Conversation

henriDierkes
Copy link

No description provided.

# check for missing and zero values
if (all(inarray == 0) | all (is.na(inarray))){

return(rep(-99999, 11))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change this to -9999, please?


# if breakpoints are determined, retrieve magnitude, rmsd, and number of breakpoints
if (any(!is.na(breakpoints))){
mag <- magnitude(bf$breakpoints)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please fix the indendation in this block, as well as add a space before "else" in l. 79?

@davidfrantz
Copy link
Owner

Can you please add a short readme with some basic information?

You can find an example here: https://github.com/davidfrantz/force-udf/blob/main/rstats/ts/dynamic-habitat-indices/readme.md

Cheers,
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants